package com.yunji.base.dao;

import com.yunji.base.bo.ManagerSiteSelectBO;
import com.yunji.base.domain.ManagerSiteDO;
import com.yunji.common.base.IBaseDao;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/12/6 15:53
 * @description : TODO
 **/
public interface IManagerSiteDao extends IBaseDao<ManagerSiteDO> {
    ManagerSiteDO getByManagerId(Long managerId);

    boolean removeBatchBySiteIds(List<Long> list);

    List<ManagerSiteDO> listBySiteIds(List<Long> list);

    List<ManagerSiteDO> listByUserIds(List<Long> list);

    ManagerSiteDO getBySiteId(Long siteId);

    ManagerSiteDO ManagerSiteSelectBO(ManagerSiteSelectBO bo);
}
